
/*
var buttonPai = [1,1,2,10,10,2,3,11,14,12,7,7,13,5,6,14,23];
var player1 = [33,33,1,2,6,6,10,11,20,21,29,24,25];
var player2 = [18,18,18,13,13,19,20,20,20,21,21,21,22,22,22,5];
var player3 = [8,8,27,28,28,28,29,29,29,30,30,30,31,31,31,33];
*/


var buttonPai = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
var player1 = [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25];
var player2 = [1, 2, 3, 4, 5, 9, 9, 14, 15, 16, 18, 25, 20];
var player3 = [8, 8, 27, 28, 28, 28, 28, 25, 29, 29, 30, 30, 31];

/*
var buttonPai = [8,9,1,1,0,10,2,2,11,11,3,13,8,4,5,6,7];
var player1 = [7,1,0,10,10,2,3,11,14,12,7,7,13,5,6,14];
var player2 = [18,18,18,19,19,19,20,20,20,21,21,21,0,0,1,6];
var player3 = [8,8,27,28,28,28,28,19,29,29,30,30,31,31,31,33];
*/

/*
var buttonPai = [0,0,0,1,1,1,2,2,2,3,3,3,4,4,4,5,6];
var player1 = [9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,5];
var player2 = [18,18,18,19,19,19,20,20,20,21,21,21,7,7,7,6];
var player3 = [8,8,27,28,28,28,29,29,29,30,30,30,31,31,31,33];
*/
/*
var buttonPai = [0,0,9,10,1,1,2,2,2,3,3,3,4,4,4,5,6];
var player1 = [9,9,5,10,10,10,11,11,11,12,12,12,13,13,13,5];
var player2 = [18,18,18,19,19,19,20,20,20,21,21,21,7,7,7,9];
var player3 = [8,8,28,28,28,28,29,29,29,30,30,30,31,31,31,8];
*/

/*
var buttonPai = [0,0,9,10,1,1,2,2,2,3,3,3,4,4,5,5,26];
var player1 = [28,4,24,25,26,26,26];
var player2 = [18,18,18,19,19,19,20,20,20,21,21,21,7,7,7,9];
var player3 = [8,8,28,28,28,28,29,29,29,30,30,30,31,31,31,8];
*/
var caishenPais = 9;
var Switch = false;

exports.GetHoldsPai = function (bankerPai, player1Pai, player2Pai, player3Pai, callback) {
	if (Switch == false) {
		callback(null);
		return false;
	}
	else {
		for (var i = 0; i < 13; ++i)
			bankerPai[i] = buttonPai[i];
		for (var i = 0; i < 13; ++i)
			player1Pai[i] = player1[i];
		for (var i = 0; i < 13; ++i)
			player2Pai[i] = player2[i];
		for (var i = 0; i < 13; ++i)
			player3Pai[i] = player3[i];
		callback(caishenPais);
		return true;
	}
}
